package com.edu.spring.ioc.controller;

import com.edu.spring.ioc.bean.Person;
import com.edu.spring.ioc.service.UserService;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import java.util.List;
import java.util.Map;

@Controller
@Data
public class UserController {
    @Autowired
    UserService userService;

    @Autowired
    List<Person> personList;
    @Autowired
    Map<String, Person> personMap;
}
